package cn.lhf.myblog.context;

import com.fasterxml.jackson.annotation.JsonValue;

public enum Sex {
    MAN(0),
    WOMAN(1);

    private int value;

    Sex(int value) {
        this.value = value;
    }

    @JsonValue
    public int getValue() {
        return value;
    }
}
